package com.zhijiaoyun.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * @author shisfish
 * @date 2017/12/15
 */
public interface ILoginService {
    /**
     * 用户登录
     *
     * @param email
     * @param password
     * @param device   browser
     *                 mobile
     * @param request
     * @param response
     * @return
     */
    Map<String, Object> userLogin(String email, String password, String device, HttpServletRequest request, HttpServletResponse response);
}
